<?php
// Get the Root Application Path
$global_configure = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
$global_configure .= 'global' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR;

// Import Global Configuration
$global_configure .= 'configure.php';
define('GLOBAL_CONFIGURE', $global_configure);

require_once GLOBAL_CONFIGURE;
	
	
	
  

  


// THESE LINE OF CODES WILL BE REMOVED IF GLOBAL CONFIGURATION UPDATE DONE
// AND VERIFY EVERYTHING WORKS OK

//define('DIR_WS_ADMIN', SERVER_PATH . '/sc/admin/');
//define('DIR_FS_DOCUMENT_ROOT', (dirname(__FILE__) . DIRSEP . '..' . DIRSEP . '..' . DIRSEP . '..' . DIRSEP) . DIRSEP);  
//define('ENABLE_SSL_CATALOG', 'false');
//define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . 'admin' . DIRECTORY_SEPARATOR);





if (LOCAL == '1') {
	define('DIR_WS_CATALOG', '/ushop-beta1/sc/');
} else {
	define('DIR_WS_CATALOG', '/sc/');
}
	

  
  
  define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT);
  
  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
  define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'sc/images/');
  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

  
  
  
  
  
  
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'mysql');
?>